package com.ruoyi.project.pro.size.service;

import com.ruoyi.project.pro.size.domain.ProSize;

import java.util.List;

/**
 * @program: zhizun
 * @author: Mrs.ye
 * @create: 2020-09-17 14:19
 * @description:
 **/
public interface ISizeService {



    /**
     * @program: zhizun
     * @author: Mrs.ye
     * @create: 2020-09-16 22:22
     * @description: 产品规格管理的service层
     **/



        /**
         * 分页查询产品规格
         * @return
         */
        public List<ProSize> selectSize(ProSize proSize);

        /**
         * 检验产品规格名称是否唯一
         * @param proSize
         * @return
         */
        String checkSizeNameUnique(ProSize proSize);

        /**
         * 新增产品规格
         * @param proSize
         * @return
         */
        int insertProSize(ProSize proSize);

        ProSize selectSizeById(Long sizeId);

        int updateSize(ProSize proSize);
        int removeProSizeById(Long[] ids);



}
